package com.tvunetworks.center.user.service;

import com.tvunetworks.center.user.model.Menu;
import com.tvunetworks.center.user.model.vo.MenuListVo;

import java.io.IOException;
/**
 * @author lebronchen
 * @create: 2019-06-10 15:58
 **/
public interface MenuService {
    /**
     *
     * @return MenuListVo
     */
    MenuListVo getMenuList();

    /**
     *
     * @param session session
     * @param role role
     * @return MenuListVo
     * @throws IOException 编译异常
     */
    MenuListVo getMenuInfoList(String session,String role) throws IOException;

    /**
     *
     * @param userId userId
     * @param role role
     * @param pageMark pageMark
     * @return Menu
     * @throws Exception 编译异常
     */
     Menu getUserPageMarkPermission(String userId, String role, String pageMark) throws Exception;
}
